﻿using Orchard.ContentManagement;

namespace Kwu.PlacesField.Fields {
    public class PlacesField : ContentField {
        public string PostalCode {
            get { return Storage.Get<string>("PostalCode"); }
            set { Storage.Set<string>("PostalCode", value); }
        }
        public string Category {
            get { return Storage.Get<string>("Category"); }
            set { Storage.Set<string>("Category", value); }
        }
        public string PlaceName {
            get { return Storage.Get<string>("PlaceName"); }
            set { Storage.Set<string>("PlaceName", value); }
        }
        public string PlaceLatLong {
            get { return Storage.Get<string>("PlaceLatLong"); }
            set { Storage.Set<string>("PlaceLatLong", value); }
        }      
    }
}